﻿using System;

class Program
{
    static void Main()
    {
        string hex = "F";
        string binary = Convert.ToString(Convert.ToInt32(hex,16),2);
        Console.WriteLine(binary);
    }
}